package nbcp.db.mongo.entity


import com.fasterxml.jackson.annotation.JsonProperty
import nbcp.base.extend.AsLocalDate
import org.springframework.data.annotation.Id
import nbcp.db.IdName
import nbcp.db.IdUrl
import nbcp.base.extend.AsLocalDateTime
import nbcp.base.utils.MyUtil
import nbcp.db.mongo.UserSexEnum
import nbcp.db.mongo.UserTypeEnum
import java.io.Serializable

import java.time.LocalDate
import java.time.LocalDateTime
import java.util.*
import kotlin.reflect.KFunction1

/**
 * Created by udi on 17-6-10.
 */

//abstract  class IMongoDocument:java.io.Serializable {
//    @Id
//    var id: String = "";
//}



data class UserTypeInfo(
        var userName:String= "",
        var idCardNumber: String = "",   //身份证
        var idCardImageZheng: IdUrl = IdUrl(),
        var idCardImageFan: IdUrl = IdUrl(),
        var idCardImageUser: IdUrl = IdUrl()
):Serializable


data class CorpTypeInfo(
        var corpName:String = "",
        var corpCreditCode:String = "",
        var proxyUserName:String = "" ,
        var idCardNumber: String = "",   //身份证
        var idCardImageZheng: IdUrl = IdUrl(),
        var idCardImageFan: IdUrl = IdUrl(),
        var idCardImageUser: IdUrl = IdUrl()
):Serializable